import request from '@/http/request'

// 存量用户列表
export const $getOldFansList = (data : any) => {
  return request.request({
    url: '/api/oldFans/getList',
    method: 'POST',
    data
  })
}

// 存量用户导出
export const $exportOldFansList = (data : any) => {
  return request.request({
    url: '/api/oldFans/exportOldFansInfo',
    method: 'POST',
    data
  })
}

// 全量用户列表
export const $getAllFansList = (data : any) => {
  return request.request({
    url: '/api/oldFans/allMemberInfo',
    method: 'POST',
    data
  })
}

// 全量会员导出
export const $exportAllFansList = (data : any) => {
  return request.request({
    url: '/api/oldFans/exportMemberInfo',
    method: 'POST',
    data
  })
}